home *** CD-ROM | disk | FTP | other *** search
/ Business Shareware / Business Shareware.iso / start / gfxapps / techplt1 / function.hlp < prev    next >
Text File  |  1992-04-29  |  2KB  |  64 lines

  1.   The following lists are the
  2. pre-defined functions available
  3. in the POLYGRAF. All of these
  4. functions can be used directly
  5. in the POLYGRAF model equation
  6. and line equation editor.
  7.   All the pre-defined functions
  8. are designed to handle both
  9. columns (COLUMN) and scalars
  10. (FLOAT).
  11.   All computations are done in
  12. double precision with IEEE
  13. arithmatics.
  14.   In the function prototypes,
  15. words such as COLUMN and FOAT
  16. indicate data type and should
  17. not be entered in the function
  18. call. For the function name
  19. itself, there is no case
  20. differences. i.e. abs(), ABS(),
  21. Abs() and AbS() are the same.
  22.   All functions defined in
  23. POLYGRAF have only one argument.
  24.  
  25. abs(): Absolute value.
  26.     COLUMN y = abs(COLUMN x);
  27.     FLOAT y = abs(FLOAT x);
  28.  
  29. acos(): Inverse cosine.
  30.     COLUMN y = acos(COLUMN x);
  31.     FLOAT y = acos(FLOAT x);
  32.  
  33. bessel(): Bessel function of the
  34.     first or second kind, of
  35.     order 0, 1 or N.
  36.  
  37. cdfn(): Cumulative density
  38.     function of normal (gaussian)
  39.     distribution (integral from
  40.     -infinite to x).
  41. cdfnc(): Complement of cumulative
  42.     density function of normal
  43.     distribution (integral from
  44.     x to +infinite).
  45. ceil(): Rounds up, toward positive
  46.     infinite.
  47. degtorad(): Convert from degree
  48.     to radians (radians=PI/180
  49.     degrees).
  50. floor(): Round down, toward
  51.     nagative infinite.
  52. gamma(): Gamma function.
  53. length(): Number of elements in
  54.     a column.
  55. loggamma(): Natural log of gamma
  56.     function.
  57. radtodeg(): Radians to degrees
  58.     (degrees =180/PI radians).
  59. round(): Rounds to nerest integer.
  60. trunc(): Truncate values to
  61.     integer.
  62. unit(): Unit function.
  63. step: Step function.
  64. sign: Sign function.